package com.damage.purchase_dept.mapper;

import com.damage.common.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface IOrderDetailMapper {

    Integer insertBatch(List<OrderDetail> details);

    List<OrderDetail> findDetailByOrderId(Integer OrderId);

    Integer deleteByOrderId(Integer orderId);
}
